import Lists from "./Lists.js";
const template = (`
    <div>
        <button @click="isActive(item.id)" v-for="item in newsList"  :key="item.id" :class="{active:item.id===activeId}">{{item.city}}</button>
        <lists :active-list="activeList"></lists>
    </div>
    
`);
export default {
    template,
    components:{
        Lists
    },
    props:['news-list','active-id','is-active','active-list'],
}